<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <form action="http://localhost:8080/doAdd" method="post" >
        <legend>top250添加数据</legend>
        <div class="form-group">
            <label for="">电影的名字</label>
            <input type="text" class="form-control" id="" name="name" placeholder="输入电影名">
        </div>
        <div class="form-group">
            <label for="">评分</label>
            <input type="text" class="form-control" id="" name="rating" placeholder="输入评分">
        </div>
        <button type="submit" class="btn btn-primary">提交</button>
    </form>  
</body>
</html>